]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Revert "main: Register session with GDM on startup"
authorJoan Torres Lopez <joantolo@redhat.com>
Tue, 27 Jan 2026 12:33:36 +0000 (13:33 +0100)
committerJoan Torres Lopez <joantolo@redhat.com>
Tue, 27 Jan 2026 12:41:16 +0000 (13:41 +0100)
This depends on GDM changes that are not in this release.

This reverts commit 6457a1454a05bac8f7e172c17fbcb2b5baeae619.

js/ui/main.js

index bd3906311fb0d99a46725b9759357b07f337ab8f..4a011f262b529ed283564d7dc6d7876c5d5ca168 100644 (file)
@@ -335,8 +335,6 @@ async function _initializeUI() {
     extensionManager = new ExtensionSystem.ExtensionManager();
     extensionManager.init();
 
-    LoginManager.registerSessionWithGDM();
-
     if (sessionMode.isGreeter && screenShield) {
         layoutManager.connect('startup-prepared', () => {
             screenShield.showDialog();
@@ -383,6 +381,8 @@ async function _initializeUI() {
             sessionMode.currentMode !== 'initial-setup')
             _handleLockScreenWarning();
 
+        LoginManager.registerSessionWithGDM();
+
         if (perfModule) {
             let perfOutput = GLib.getenv('SHELL_PERF_OUTPUT');
             Scripting.runPerfScript(perfModule, perfOutput);